package cn.t.web.user;

import cn.t.core.controller.BaseController;
import cn.t.dto.user.UserInfoDTO;
import cn.t.dto.user.UserQueryDTO;
import cn.t.facade.user.UserQueryFacade;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 场景信息表服务入口
 *
 * @author l
 */
@Slf4j
@RestController
@RequestMapping("userQuery")
@AllArgsConstructor
public class UserQueryController extends BaseController<UserQueryDTO, UserQueryFacade> {


    @PostMapping("/refresh")
    public UserInfoDTO refreshUser() {
        facade.refreshAll();
        return null;
    }
}



